package com.itheima.youdianda.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author
 */
@Data
@ApiModel("")
public class YddUserData implements Serializable {
    @TableId(value = "id" , type = IdType.AUTO)
    @ApiModelProperty("编号")
    private Integer id;
    @ApiModelProperty("文章id")
    private Integer articleId;
    @ApiModelProperty("用户id")
    private Integer userId;
    @ApiModelProperty("收藏点赞")
    //1表示记录收藏，2表示记录点赞
    private Integer type;


}
